package com.ldh.jedis;

import java.util.HashMap;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @program: jedis1
 * @description:
 * @author: Donghui Li
 * @create: 2021-12-08 17:12
 */
public class KvStore {

    private static final ConcurrentHashMap<String,String> hashMap = new ConcurrentHashMap<>();

    public static void set(String k,String v){
        hashMap.put(k, v);
    }

    public static String get(String k){
        return hashMap.get(k);
    }

}
